package com.mt.course.mapper;

import java.util.List;
import java.util.Map;

import com.mt.course.entity.ExaminationItemEntity;

public interface ExaminationItemEntityMapper {
    int deleteByPrimaryKey(Integer examinationItemId);

    int insert(ExaminationItemEntity record);

    List<ExaminationItemEntity> selectList(Map<String, Object> params);

    /**
     * 每日一练随机5条数据列表
     * 
     * @param params
     * @return
     */
    List<ExaminationItemEntity> selectDailyTestList(Map<String, Object> params);

    /**
     * 每日一练随机5条数据列表
     * 
     * @param params
     * @return
     */
    int selectCount(Map<String, Object> params);

    ExaminationItemEntity selectByPrimaryKey(Map<String, Object> params);

    int updateByPrimaryKeySelective(ExaminationItemEntity record);

}